package tests;

import common.AutoTestUtil;

import java.io.IOException;

public class runCase {
    public static void main(String[] args) throws IOException, InterruptedException {
        RegisterAutoTest registerAutoTest=new RegisterAutoTest();
        registerAutoTest.checkRegister();
        AutoTestUtil.driver.quit();

        LoginAutoTest loginAutoTest=new LoginAutoTest();
        loginAutoTest.checkLoginFunction();
        AutoTestUtil.driver.quit();

        IndexTest indexTest=new IndexTest();
        indexTest.registerUser();
        indexTest.createPrize();
        indexTest.createActivity();
        indexTest.start();
        AutoTestUtil.driver.quit();
    }
}
